<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>首页</title>
    <link rel="stylesheet" href="../../libs/node_modules/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../style/wap/index.css">
    <link rel="stylesheet" href="../../style/wap/replay.css">
    <script src="../../libs/jquery-3.2.1.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
    <script src="../../libs/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="../../libs/layer-v3.1.1/layer/layer.js"></script>
    <!--<script src="js/system.js"></script>-->
</head>
<body>
<header>
    <div class="tool-bar">详情页

    </div>
    <a class="pull-le" href="javascript:window.history.go(-1)">
        <img src="../../static/icon-wap/左.png" alt="">
    </a>
</header>


<main>
    <div class="content">
        <div class="problem-search-item">
            <div class="title-box">
                <div class="problem-search-item-title">成都怎么办电子狗？</div>
                <div class="problem-search-item-prop">
                    <span>来源：系统发布</span>
                </div>
            </div>
            <div class="content-box">
                <div class="problem-search-item-option">
                    <span>2019-4-30  10:44</span>
                    <span>1234次浏览</span>
                </div>
                <div class="problem-search-item-text">
                    王倩告诉记者，她在与店方理论时被人拍了视频，并在网上发布，她对此并不知情。“但从有人把视频没有打马赛克发在网上的那一刻起，这个
                    事情就没有回旋的余地了。”
                    王倩告诉记者，她在与店方理论时被人拍了视频，并在网上发布，她对此并不知情。“但从有人把视频没有打马赛克发在网上的那一刻起，这个
                    事情就没有回旋的余地了。”
                    王倩告诉记者，她在与店方理论时被人拍了视频，并在网上发布，她对此并不知情。“但从有人把视频没有打马赛克发在网上的那一刻起，这个
                    事情就没有回旋的余地了。”
                    王倩告诉记者，她在与店方理论时被人拍了视频，并在网上发布，她对此并不知情。“但从有人把视频没有打马赛克发在网上的那一刻起，这个
                    事情就没有回旋的余地了。”
                </div>
            </div>
            <div class="space"></div>
            <div class="comment-box">
                <div class="comment-title">评论</div>
                <div class="comment-input-box">
                    <div class="comment-input">
                        <textarea name="" id="" cols="30" rows="8"></textarea>
                    </div>
                    <div class="comment-btn">
                        发送
                    </div>
                </div>

                <div class="comment-item">
                    <div class="comment-info">
                        <div class="info-headImg" style="background: url(../../static/icon-wap/头像01.png)no-repeat;background-size: contain"></div>
                        <div class="info-text">
                            <div class="info-name">一品CG业主</div>
                            <div class="info-time">2019-4-30  14:10</div>
                        </div>
                    </div>
                    <div class="replay-content">
                        <div class="replay-inner">
                            多参与、监督社会生态环境政治格局，
                            从而未实现现代化发展做出重大贡献。
                        </div>
                    </div>
                </div>
                <div class="comment-item">
                    <div class="comment-info">
                        <div class="info-headImg" style="background: url(../../static/icon-wap/头像01.png)no-repeat;background-size: contain"></div>
                        <div class="info-text">
                            <div class="info-name">一品CG业主</div>
                            <div class="info-time">2019-4-30  14:10</div>
                        </div>
                    </div>
                    <div class="replay-content">
                        <div class="replay-inner">
                            多参与、监督社会生态环境政治格局，
                            从而未实现现代化发展做出重大贡献。
                        </div>
                    </div>
                </div>
            </div>


        </div>


    </div>
</main>

<div class="suspension">
    <a class="ball" onclick="to_top()">
        <span><img src="../../static/icon-wap/上.png" alt=""></span>
        <span>返回</span>
        <span>顶部</span>
    </a>
</div>
<script>

    var userAgent = navigator.userAgent.toLowerCase();
    var platform;
    if(userAgent == null || userAgent == ''){
        platform = 'WEB' ;
    }else{
        if(userAgent.indexOf("android") != -1 ){
            platform = 'ANDROID';
//            location.href = "";
        }else if(userAgent.indexOf("ios") != -1 || userAgent.indexOf("iphone") != -1 || userAgent.indexOf("ipad") != -1){
            platform = 'IOS';
//            location.href = "";
        }else if(userAgent.indexOf("windows phone") != -1 ){
            platform = 'WP';
//            location.href = "";
        }else{
            platform = 'WEB' ;
            location.href = "../../views/problem/problem.html";
        }
    }


    function getScrollTop(){
        var scrollTop=0;
        if(document.documentElement&&document.documentElement.scrollTop){
            scrollTop=document.documentElement.scrollTop;
        }else if(document.body){
            scrollTop=document.body.scrollTop;
        }
        return scrollTop;
    }
    $(window).scroll(function () {
        if(getScrollTop()>=100){
            $(".suspension").show();
        }
        else{
            $(".suspension").hide();
        }
    });
    function to_top() {
        $(window).scrollTop(0);
    }



</script>
</body>
</html>